package com.schoolcloud.serve.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;

/**
 * 失物与拾物分类表
 * @TableName lost_found_category
 */
@TableName(value ="lost_found_category")
@Data
public class LostFoundCategory implements Serializable {
    /**
     * 分类id
     */
    @TableId(type = IdType.AUTO)
    private Integer lostFoundCategoryId;

    /**
     * 分类名称
     */
    private String name;

    /**
     * 说明
     */
    private String description;

    /**
     *图标
     */
    private String icon;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
